package cn.ococci.dm.Main.Model;


import org.litepal.crud.DataSupport;

/**
 * Created by cyan on 15/9/25.
 * 门
 */
public class DoorModel extends DataSupport {


    /**
     * 本地数据库id（自动增长）
     */
    private long id;
    /**
     * 门禁ID
     */
    private long doorId = 0;

    /**
     * 本地id(直接对应 DoorUnitModel中的doorLocalId)
     */
    private long localId;

    /**
     * 门的mac地址
     */
    private String doorMac;

    /**
     * wifi名称(BSSID)
     */
    private String wifiName;


    /**
     * wifi (Bssid)
     */
    private String wifiBssid;

    /**
     * wifi的密码
     */
    private String  wifiPwd;

    /**
     * wifi的信号强度
     */
    private int wifiLever;


    /**
     * 门的名称
     */
    private String doorName;

    /**
     * 所属公司
     */
    private String  companyName;

    /**
     * 所在公司的id
     */
    private long  companyId;

    /**
     * 经度
     */

    private float longitude;

    /**
     * 纬度
     */
    private float latitude;

    /**
     *  同步状态(0 不需要，1 需要)
     */
    private int syn;


    public long getDoorId() {
        return doorId;
    }

    public void setDoorId(long doorId) {
        this.doorId = doorId;
    }

    public String getDoorMac() {
        return doorMac;
    }

    public void setDoorMac(String doorMac) {
        this.doorMac = doorMac;
    }

    public String getDoorName() {
        return doorName;
    }

    public void setDoorName(String doorName) {
        this.doorName = doorName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(long companyId) {
        this.companyId = companyId;
    }

    public String getWifiName() {
        return wifiName;
    }

    public void setWifiName(String wifiName) {
        this.wifiName = wifiName;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getWifiPwd() {
        return wifiPwd;
    }

    public void setWifiPwd(String wifiPwd) {
        this.wifiPwd = wifiPwd;
    }

    public int getWifiLever() {
        return wifiLever;
    }

    public void setWifiLever(int wifiLever) {
        this.wifiLever = wifiLever;
    }


    public String getWifiBssid() {
        return wifiBssid;
    }

    public void setWifiBssid(String wifiBssid) {
        this.wifiBssid = wifiBssid;
    }


    public float getLongitude() {
        return longitude;
    }

    public void setLongitude(float longitude) {
        this.longitude = longitude;
    }

    public float getLatitude() {
        return latitude;
    }

    public void setLatitude(float latitude) {
        this.latitude = latitude;
    }


    public long getLocalId() {
        return localId;
    }

    public void setLocalId(long localId) {
        this.localId = localId;
    }


    public int getSyn() {
        return syn;
    }

    public void setSyn(int syn) {
        this.syn = syn;
    }
}
